|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.ExternalAccountModel
public class ExternalAccountModel
This Java class represents an external account defined in a subscriber account
stored in customer master data owned by a service provider;
An external account is a reference to an account that is managed by a third-party accounting system in a postpaid environment.
SubscriberAccountModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="externalAccount">
<xs:complexType>
<xs:attribute name="code" type="xs:string" use="required"/>
<xs:attribute name="description" type="xs:string"/>
<xs:attribute name="currency" type="xs:string"/>
<xs:attribute name="externalAccountCode" type="xs:string"/>
<xs:attribute name="systemCode" type="xs:string"/>
<xs:attribute name="type" type="ExternalAccountType"/>
</xs:complexType>
</xs:element><xs:simpleType name="ExternalAccountType"> <xs:restriction base="xs:string"> <xs:enumeration value="payable"/> <xs:enumeration value="receivable"/> <xs:enumeration value="undefined"/> </xs:restriction> </xs:simpleType>
| Nested Class Summary | |
|---|---|
static class |
ExternalAccountModel.ExternalAccountType
|
| Constructor Summary | |
|---|---|
ExternalAccountModel()
Builds an empty external account. |
|
ExternalAccountModel(java.lang.String code,
java.lang.String description,
java.lang.String currency,
java.lang.String externalAccountCode,
java.lang.String systemCode,
ExternalAccountModel.ExternalAccountType type)
Builds an external account. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.lang.String |
getCode()
Gets the code of the external account. |
RatingContextDescription |
getContext(ContextualNode child)
|
java.lang.String |
getCurrencyCode()
Gets the currency code of the external account. |
java.lang.String |
getDescription()
Gets the comprehensive description of the external account. |
java.lang.String |
getExternalAccountCode()
Gets the external account code of the external account. |
java.lang.String |
getSystemCode()
Gets the system code of the external account. |
ExternalAccountModel.ExternalAccountType |
getType()
Gets the type of the external account. |
RatingContextDescription |
inheritedContext()
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setCode(java.lang.String code)
Sets the code of the external account. |
void |
setCurrencyCode(java.lang.String currencyCode)
Sets the currency code of the external account. |
void |
setDescription(java.lang.String description)
Sets the comprehensive description of the external account. |
void |
setExternalAccountCode(java.lang.String externalAccountCode)
Sets the external account code of the external account. |
void |
setSystemCode(java.lang.String systemCode)
Sets the system code of the external account. |
void |
setType(ExternalAccountModel.ExternalAccountType type)
Sets the type of the external account. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalAccountModel()
public ExternalAccountModel(java.lang.String code,
java.lang.String description,
java.lang.String currency,
java.lang.String externalAccountCode,
java.lang.String systemCode,
ExternalAccountModel.ExternalAccountType type)
code - The code of the external accountdescription - The description of the external accountcurrency - The currency of the external accountexternalAccountCode - The external account code of the external accountsystemCode - The system code of the external accounttype - The type of the external account| Method Detail |
|---|
public java.lang.String getCode()
public void setCode(java.lang.String code)
code - The code of the external accountpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The text description of the external accountpublic java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
currencyCode - The currency code of the external accountpublic java.lang.String getExternalAccountCode()
public void setExternalAccountCode(java.lang.String externalAccountCode)
externalAccountCode - The external account code of the external accountpublic java.lang.String getSystemCode()
public void setSystemCode(java.lang.String systemCode)
systemCode - The system code of the external accountpublic ExternalAccountModel.ExternalAccountType getType()
ExternalAccountModel.ExternalAccountType.PAYABLE,
ExternalAccountModel.ExternalAccountType.RECEIVABLE,
ExternalAccountModel.ExternalAccountType.UNDEFINEDpublic void setType(ExternalAccountModel.ExternalAccountType type)
type - The type of the external account
Available types are:ExternalAccountModel.ExternalAccountType.PAYABLE,
ExternalAccountModel.ExternalAccountType.RECEIVABLE,
ExternalAccountModel.ExternalAccountType.UNDEFINEDpublic RatingContextDescription getContext(ContextualNode child)
public RatingContextDescription inheritedContext()
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current element
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||